home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 2: CDPD 1
/
Almathera Ten on Ten - Disc 2: CDPD 1.iso
/
pd
/
301-325
/
309
/
sksh
/
install.doc
< prev
next >
Wrap
Text File
|
1995-03-14
|
5KB
|
199 lines
Installation Guide to
SKSH
A ksh-like Shell for the Amiga
Version 1.3
(Copyright) 1989, 1990
Steve Koren
January 2, 1990
Installing SKsh
This section descibes how to install SKsh. It is vitally
important that all the steps be performed. If they are not,
SKsh will not operate correctly. In addition, SKsh requires
version 1.3 of AmigaDos to operate correctly.
Please examine this file for each release, as it may change at
any time.
1) First, copy the .skshinit and .skshrc files to the
's:' directory. SKsh needs these two files to start
correctly. Their location can be changed by changing
the SKSH: device (see below).
2) Edit your startup-sequence and insert:
assign SKSH: s:
This controls the location in which SKsh looks for the
startup files.
3) Copy the sksh binary itself to a location in your
AmigaDos search path. You can be fairly sure the 'c:'
directory is in your search path. If you have
modified your path, there may be other potential
locations as well.
4) Set the pure bit on the SKsh binary:
protect c:sksh rep
5) Make sure that 't:' points to a fast device suitable
for storing temporary files. A sub-directory on a ram
disk is best. For example,
makedir ram:tmp
assign t: ram:tmp
You will probably want to insert some commands like
these into your startup-sequence, if they are not
already there. SKsh uses temporary files only when
absolutely necessary, but some types of SKsh commands
will not function properly without them (see command
subtitution, for example).
SKSH Amiga Shell Page 2 Installation Guide
6) SKsh needs a stack size of at least 15000 bytes in
order to run properly. You can manually set the stack
size to 15000 bytes using the AmigaDos stack command
before you run SKsh, or you can insert 'stack 15000'
into your startup sequence (recommended). If you do
not have sufficient stack space, SKsh *will* crash.
7) The following files need to be copied to a location
which is in your SKsh search path (although not
necessarily in your AmigaDos search path):
cmp
head
join
strings
tail
wc
window
xd
You can create a directory called "sys:bin" which
contains these commands. The supplied .skshrc file
automatically adds this directory to the search path.
8) This step is optional, but recommended. The default
name for the ram disk is "RAM DISK:". The space will
make some things difficult to do (but not impossible)
in SKsh. I recommend that you change the default name
of the ram disk in your startup-sequence to something
like the following:
relabel ram: RAM_DISK
The only difference is that the space has been
replaced by an underscore, and it will make your life
much easier.
9) Insure that your AmigaDos ENV: device is set up
properly. If you are not sure how to do this, see the
AmigaDos manual.
10) Lastly, you must have arp.library installed in your
system in the LIBS: directory. If you are not sure
how to do this, see the arp documentation. arp is
available on most Amiga BBS systems. It is best to
use the most recent available arp.library, since SKsh
will not run correctly with some early versions.
SKSH Amiga Shell Page 3 Installation Guide